//
//  TableViewCell.m
//  FDT
//
//  Created by boom on 2017/6/7.
//  Copyright © 2017年 boomLi. All rights reserved.
//

#import "TableViewCell.h"

@interface TableViewCell()

@property (weak, nonatomic) IBOutlet UILabel *label1;


@end

@implementation TableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)setModel:(Model *)model{
    _model = model;
    _label1.text = model.title;
    [_label1 sizeToFit];
}


@end
